import axios from '@/utils/request'

// 获取热门搜索
export function getHotSearchList() {
  return axios.get('/search/hot')
}

// 搜索
export function searchSong(keywords) {
  return axios({
    method: 'get',
    url: '/cloudsearch',
    params: { keywords },
  })
}
